//
//  DetailViewController.h
//  test2
//
//  Created by yuzhou on 13-12-9.
//  Copyright (c) 2013年 yuzhou. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DetailViewController : UIViewController

@property (strong, nonatomic) id detailItem;

@property (weak, nonatomic) IBOutlet UILabel *detailDescriptionLabel;
@property (weak, nonatomic) IBOutlet UITextField *nameField;
@property (weak, nonatomic) IBOutlet UISlider *AgeSlider;
@property (weak, nonatomic) IBOutlet UILabel *AgeValue;
- (IBAction)AgeAction:(id)sender;

@property (weak, nonatomic) IBOutlet UISegmentedControl *sexSegmented;
@property (weak, nonatomic) IBOutlet UISwitch *MarrySwitch;
- (IBAction)saveButton:(id)sender;

- (IBAction)searchButton:(id)sender;
@property (weak, nonatomic) IBOutlet UIButton *searchButton;


@property (strong,nonatomic) NSString * PushIdentifier;

@property (strong, nonatomic) NSFetchedResultsController *fetchedResultsController;
@property (strong, nonatomic) NSManagedObjectContext *managedObjectContext;

@end
